package com.onesports.intelligent.k12.polarlight.domain.dto.login;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;

/**
 * @author: xiong pengfei
 * @date: 2021-12-01
 * @description:
 */
public class LoginDTO {

    @NotEmpty(message = "用户名不能为空")
    @ApiModelProperty("用户名")
    private String password;

    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String username;

    public void setPassword(String password){
        this.password = password;
    }
    public String getPassword(){
        return this.password;
    }
    public void setUsername(String username){
        this.username = username;
    }
    public String getUsername(){
        return this.username;
    }
}